/*
 * Created on 2006-10-30
 *
 */
package edu.pku.sei.modeler.editparts;

import java.beans.PropertyChangeEvent;

import org.eclipse.swt.graphics.Image;

import edu.pku.sei.modeler.edit.parts.BaseTreeEditPart;
import edu.pku.sei.modeler.images.ImageProvider;
import edu.pku.sei.modeler.model.structure.MetaShapeElement;

/**
 * @deprecated
 * @author zhangle
 *
 */
public class TemplateInterfaceTreeEditPart extends BaseTreeEditPart {
	public TemplateInterfaceTreeEditPart(MetaShapeElement model) {
        super(model);
    }
	
	/* (non-Javadoc)
	 * @see edu.pku.modeler.control.editparts.BaseTreeEditPart#handlePropertyChanged(java.beans.PropertyChangeEvent)
	 */
	protected void handlePropertyChanged(PropertyChangeEvent event) {
		// TODO Auto-generated method stub

	}

	protected void refreshVisuals() {
    	Image image = ImageProvider.getImage(ImageProvider.TEMPLATE_INTERFACE_IMAGE);
    	setWidgetImage(image);
        setWidgetText("interface");
    }
}
